package com.hsteach.dao.domain.visit;

import com.hsteach.common.annotation.Excel;
import com.hsteach.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学生家庭成员信息对象 tb_visit_family_person
 * 
 * @author fanxquer
 * @date 2023-07-23
 */
public class VisitFamilyPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private String personId;

    /** 家庭id */
    @Excel(name = "家庭id")
    private Long familyId;

    /** 关系，1爸爸，2妈妈，3爷爷，4奶奶，5其他 */
    @Excel(name = "关系，1爸爸，2妈妈，3爷爷，4奶奶，5其他")
    private Integer personType;

    /** 单位性质 */
    @Excel(name = "单位性质")
    private String unitKind;

    /** 职业类型 */
    @Excel(name = "职业类型")
    private String jobType;

    /** 职务 */
    @Excel(name = "职务")
    private String job;

    /** 家访记录id */
    @Excel(name = "家访记录id")
    private Long recordId;

    /** 数据类型，1跟随学生，2跟随家访记录 */
    @Excel(name = "数据类型，1跟随学生，2跟随家访记录")
    private Integer dataType;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createByName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(String personId) 
    {
        this.personId = personId;
    }

    public String getPersonId() 
    {
        return personId;
    }
    public void setFamilyId(Long familyId) 
    {
        this.familyId = familyId;
    }

    public Long getFamilyId() 
    {
        return familyId;
    }
    public void setPersonType(Integer personType) 
    {
        this.personType = personType;
    }

    public Integer getPersonType() 
    {
        return personType;
    }
    public void setUnitKind(String unitKind) 
    {
        this.unitKind = unitKind;
    }

    public String getUnitKind() 
    {
        return unitKind;
    }
    public void setJobType(String jobType) 
    {
        this.jobType = jobType;
    }

    public String getJobType() 
    {
        return jobType;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }
    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setDataType(Integer dataType) 
    {
        this.dataType = dataType;
    }

    public Integer getDataType() 
    {
        return dataType;
    }
    public void setCreateByName(String createByName) 
    {
        this.createByName = createByName;
    }

    public String getCreateByName() 
    {
        return createByName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("familyId", getFamilyId())
            .append("personType", getPersonType())
            .append("unitKind", getUnitKind())
            .append("jobType", getJobType())
            .append("job", getJob())
            .append("recordId", getRecordId())
            .append("dataType", getDataType())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
